//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.zh.domain.Model.ws;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.zh.domain.dto.iteration.UpdateIterationRequest;
import com.zh.domain.dto.milestone.UpdateMileStoneRequest;
import com.zh.domain.dto.requirement.UpdateRequirementRequest;
import com.zh.domain.dto.task.UpdateTaskRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel("taskTable 消息格式")
@JsonInclude(Include.NON_NULL)
@Data
public class TableMessageModel {
    @ApiModelProperty("消息唯一Id(单元格id)")
    private String cellId;
    @ApiModelProperty(value = "消息发送者id")
    private Integer sendId;
    @ApiModelProperty(value = "修改任务请求参数")
    private UpdateTaskRequest updateTaskRequest;
    @ApiModelProperty(value = "修改需求请求参数")
    private UpdateRequirementRequest updateRequirementRequest;
    @ApiModelProperty(value = "修改迭代请求参数")
    private UpdateIterationRequest updateIterationRequest;
    @ApiModelProperty(value = "修改里程碑请求参数")
    private UpdateMileStoneRequest updateMileStoneRequest;
    @ApiModelProperty(value = "消息标题")
    private String title;
    @ApiModelProperty("消息体 字符串格式(前后端互通) 可以为JSON")
    private String content;
    @ApiModelProperty("消息类型 0里程碑 1迭代 2需求 3任务")
    private Integer type;
    @ApiModelProperty("操作类型  update init")
    private String operation;
    @ApiModelProperty("发送时间")
    private LocalDateTime sendTime;
}
